package lion.framework.core.web.views;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import lion.framework.core.web.anno.ViewType;

/**
 * 该视图不会返回任何内容
 * 
 * <pre>
 * time   2013 2013-5-14 下午04:52:47
 * mail   hl_0074@sina.com
 * </pre>
 * 
 * @author lion
 */
@ViewType("noop")
public class NoopView implements IView {

	public static final String VIEW_TYPE = "noop";
	private String name;

	@Override
	public void render(HttpServletRequest request, HttpServletResponse response) {

	}

	@Override
	public String getName() {

		return this.name;
	}

	@Override
	public String type() {

		return VIEW_TYPE;
	}

}
